﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Citi.RoutineBase;

namespace Citi.GenericApplications.SchedulerUi
{
    public class CompressFiles : IExecutableRoutine
    {
        public IEnumerable<RoutineParameter> Parameters
        {
            get { return null; }
        }

        public void Rollback(ref ICurrentAction currentAction, Dictionary<string, object> parameters)
        {
            
        }

        public void Start(DateTime scheduledDate, ref ICurrentAction currentAction, Dictionary<string, object> parameters)
        {
            Helpers.FileHelper.Compress(@"R:\PTS Report\Application\ApplicationBookOfWorkLAG2014_20140618.xlsb", @"C:\temp\");
        }

        public void Stop(ref ICurrentAction currentAction, Dictionary<string, object> parameters)
        {
            
        }
    }
}
